typedef struct{
  cls *type;
  int objsize;
  tree **objids;
  array *clsids,  *bases;
  object clsattrs[];
} cls;

typedef struct{
  tree *id;
  environment *prev;
} environment;

void *compile(mod_ty *m);
